home *** CD-ROM | disk | FTP | other *** search
/ Compendium Deluxe 1 / LSD Compendium Deluxe 1.iso / a / disk / misc / deled.lha / Rexx / de.rexx next >
OS/2 REXX Batch file  |  1990-09-13  |  1KB  |  38 lines

  1. /**********************************************************************
  2.  *          Deluxe Editors REXX interface test program v1.2           *
  3.  *                       Copyright Cath 1992.                         *
  4.  **********************************************************************/
  5.  
  6. /* the address is the Portname where the commands are fed */
  7. address 'DeRexx'
  8.  
  9. /* Lock Deluxe Editors Menu and Intuition handling (must be done) */
  10. 'LockDe'
  11.  
  12. /* Turn Information requestors off */
  13. 'ReqsOff'
  14.  
  15. /* Switch the disAssembler window on */
  16. 'DisAsmOn'
  17.  
  18. /* GotoBlock - Reads a block into the buffer, format GotoBlock<spc>number */
  19. 'GotoBlock 880'
  20.  
  21. /* GotoZero - Reads in the first block of the disk */
  22. 'GotoZero'
  23.  
  24. /* Saves the bootblock of the current disk, format SaveBooot<spc>FileName */
  25. 'SaveBoot RAM:BOOTBLOCK'
  26.  
  27. /* Switch the disAssembler window off */
  28. 'DisAsmOff'
  29.  
  30. /* Copy 'Hello' to offset 0 in buffer*/
  31. 'EditAscii 0 Hello'
  32.  
  33. /* And don't forget to UnLock De afterwards ! */
  34. 'UnLockDe'
  35.  
  36. /* Tell DE to quit 
  37. 'KillDe'*/
  38.                       /* End of REXX demonstration */